package com.cea.papyrus.multidiagram.actions;

import org.eclipse.ui.ISharedImages;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.actions.RetargetAction;

public class DeleteDiagramRetargetAction extends RetargetAction {

	/**
	 * Constructs a new DeleteRetargetAction with the default ID, label and image.
	 */
	public DeleteDiagramRetargetAction() {
		super(DeleteDiagramAction.DELETE_DIAGRAM_ID, DeleteDiagramAction.ACTION_Label);
		setToolTipText(DeleteDiagramAction.ACTION_Tooltip);
		ISharedImages sharedImages = PlatformUI.getWorkbench().getSharedImages();
		setImageDescriptor(sharedImages.getImageDescriptor(ISharedImages.IMG_TOOL_DELETE));
		setDisabledImageDescriptor(sharedImages
				.getImageDescriptor(ISharedImages.IMG_TOOL_DELETE_DISABLED));
	}

	
}
